package main

import "fmt"

type myInt int

const a myInt = 100

//const b int = a + 10 // cannot use a + 10 (constant 110 of type myInt) as int value in constant
// const b int = int(a) + 10

// 无类型常量
const n = 10
const b = a + n

// 枚举
const (
	MONDAY    = 1
	TUESDAY   = 2
	WEDNESDAY = 3
)

func main() {
	fmt.Println(a + b)
}
